# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-canonicaljson
pkgver=1.2.0
pkgrel=0
pkgdesc="Canonical JSON"
options="!check" # No testsuite
url="https://github.com/matrix-org/python-canonicaljson"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-simplejson py3-frozendict py3-six"
makedepends="py3-setuptools"
source="https://pypi.io/packages/source/c/canonicaljson/canonicaljson-$pkgver.tar.gz"
builddir="$srcdir/canonicaljson-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="9827520e3a1baa27caeeb094afa492c2d40b5b29b16c17a050bd8fb147c7d255a835ec5ac05f89668a7baf29aeb58b0f605338d61e0d7ded849e8da59ea06929  canonicaljson-1.2.0.tar.gz"
